﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;

namespace WordpressRestApi
{
    /// <summary>Post Counts.</summary>
    public class PostCountInfo
    {
        /// <summary>Counts of published posts.</summary>
        [JsonProperty("publish")]
        public int Publish { get; set; }

        /// <summary>Counts of draft posts.</summary>
        [JsonProperty("draft")]
        public int Draft { get; set; }

        /// <summary>Counts of scheduled posts.</summary>
        [JsonProperty("future")]
        public int Schedule { get; set; }

        /// <summary>Counts of deleted posts.</summary>
        [JsonProperty("trash")]
        public int Delete { get; set; }
    }
}